package com.ihr360.sharedservice.mail.service;

import com.ihr360.commons.model.Email;

/**
 * @author
 */
public interface MailService {
    /**
     * 通过封装好的邮件实体发送模板邮件
     *
     * @param mail
     * @throws Exception
     */
    void sendEmailByFreemarker(Email mail) throws Exception;

}
